package com.touchwp.java.wechat.message;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.touchwp.java.wechat.converter.CDATAAdapter;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "xml")
public class LocationMessage extends Message {
	private static final long serialVersionUID = 656925979829883086L;

	@XmlElement(name = "Location_X")
	private String locationX;

	@XmlElement(name = "Location_Y")
	private String locationY;

	@XmlElement(name = "Scale")
	private String scale;

	@XmlJavaTypeAdapter(value = CDATAAdapter.class)
	@XmlElement(name = "Label")
	private String label;

	public String getLocationX() {
		return locationX;
	}

	public void setLocationX(String locationX) {
		this.locationX = locationX;
	}

	public String getLocationY() {
		return locationY;
	}

	public void setLocationY(String locationY) {
		this.locationY = locationY;
	}

	public String getScale() {
		return scale;
	}

	public void setScale(String scale) {
		this.scale = scale;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

}
